﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="contact_replyemail.ascx.cs" Inherits="administrator_uc_admin_contact_replyemail" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:UpdatePanel ID="upPanelAdmin" runat="server" UpdateMode="Conditional">
<ContentTemplate> 
<table cellspacing="1" class="classtable">
    <tr>
        <td class="classtitle" colspan="2">
        Trả Lời Email
        </td>
    </tr>
    <tr>
        <td class="classmessage" colspan="2">
            <asp:Label ID="lblMessageView" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Gửi đến:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtTo" Width="300px" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ErrorMessage="(*)" 
                ControlToValidate="txtTo"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtTo" ErrorMessage="Invalid Email" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Tiêu đề:</td>
        <td class="classcolright">
            <asp:TextBox ID="txtTitle" Width="400px" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtTitle" ErrorMessage="(*)"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="classcolleft">
            Nội dung:</td>
        <td class="classcolright">
            <CKEditor:CKEditorControl ID="CKEditorBody" runat="server" Toolbar="Basic" Height="90px"></CKEditor:CKEditorControl>
        </td>
    </tr>  
    <tr>
        <td class="classcolleft">
            &nbsp;</td>
        <td class="classcolright">
            <asp:LinkButton ID="lbtEditItem" runat="server" onclick="lbtEditItem_Click" >
            <img src="../images/icons/icon_send.jpg" border="0px" /> <b>Gửi Đi</b>
            </asp:LinkButton>
            ||
            <asp:LinkButton ID="lbtCloseFormView" runat="server" 
                OnClientClick="javascript:window.close();" CausesValidation="False">
            <img src="../images/icons/icon_close.jpg" border="0px" /><b>Đóng Lại</b>
            </asp:LinkButton>
         </td>
    </tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>

